package jee.boot.entity.system;

import jee.boot.common.annotation.Column;
import jee.boot.common.basic.DataEntity;

/**
 * 业务通用属性
 *
 * @param <T>
 */
public class GeneralDataEntity<T> extends DataEntity<T> {
    private static final long serialVersionUID = 1L;

    /**
     * 机构ID
     */
    @Column(name = "st_org_id")
    private String orgId;

    /**
     * 编号
     */
    @Column(name = "st_no")
    private String no;

    /**
     * 编码
     */
    @Column(name = "st_code")
    private String code;

    /**
     * 名称
     */
    @Column(name = "st_name")
    private String name;

    /**
     * 描述
     */
    @Column(name = "st_desc")
    private String desc;

    /**
     * 类型
     */
    @Column(name = "st_type")
    private String type;


    public GeneralDataEntity() {
    }

    public GeneralDataEntity(String id) {
        super(id);
    }

    public String getNo() {
        return no;
    }

    public void setNo(String no) {
        this.no = no;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getOrgId() {
        return orgId;
    }

    public void setOrgId(String orgId) {
        this.orgId = orgId;
    }
}
